package com.superlc.ssm.common.util;

/**
 *@author super
 * */
public class RequestInfo {

    private String url ;

    private String ip ;

    private String httpMethod ;

    private String targetMethod;

    private String args ;

    public RequestInfo(String url, String ip, String httpMethod, String targetMethod, String args) {
        this.url = url;
        this.ip = ip;
        this.httpMethod = httpMethod;
        this.targetMethod = targetMethod;
        this.args = args;
    }

    public RequestInfo() {

    }

    @Override
    public String toString() {
        return "RequestInfo{" +
                "url='" + url + '\'' +
                ", ip='" + ip + '\'' +
                ", httpMethod='" + httpMethod + '\'' +
                ", targetMethod='" + targetMethod + '\'' +
                ", args='" + args + '\'' +
                '}';
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getTargetMethod() {
        return targetMethod;
    }

    public void setTargetMethod(String targetMethod) {
        this.targetMethod = targetMethod;
    }

    public String getArgs() {
        return args;
    }

    public void setArgs(String args) {
        this.args = args;
    }
}
